package cn.jjxx.modules.pb.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.pb.mapper.PbPartyFeeMapper;
import cn.jjxx.modules.pb.entity.PbPartyFee;
import cn.jjxx.modules.pb.service.IPbPartyFeeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 党费上交统计
 * @Description: 党费上交统计
 * @author TianShixi
 * @date 2021-07-23 15:48:55
 * @version V1.0   
 *
 */
@Transactional
@Service("pbPartyFeeService")
public class PbPartyFeeServiceImpl  extends CommonServiceImpl<PbPartyFeeMapper,PbPartyFee> implements  IPbPartyFeeService {

	@Override
	public boolean insertBatch(List<PbPartyFee> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<PbPartyFee> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
